import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import element from 'element-ui'
// 本地数据
import api from './api/index'
import api2 from './api/api'
// 公共方法
import mb from './utils/messageBox/index'
import shiftyRouter from './utils/shiftyRouter'
// iview组件的css文件
import 'element-ui/lib/theme-default/index.css'
// 全局css
import '../static/css/init.css'
import '../static/css/global.css'
import '../static/css/projectList.css'
import '../static/css/common.css'
Vue.config.productionTip = false
Vue.use(element)
Vue.prototype.api = api
Vue.prototype.api2 = api2
Vue.prototype.$axios = axios
Vue.prototype.$mb = mb
Vue.prototype.shiftyRouter = shiftyRouter
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})
